class ErrorsController < ApplicationController
  

  def log_error_description
    if params[:description].nil? || params[:description].length < 5
      flash[:notice]=_("Please enter a longer description")
    else
      logger.info "User logged : #{current_user.inspect}"
      logger.info "Description for error : #{params[:description]}"
      flash[:notice]=_("Thanks for inform the error, the administrator will take a look on it.")
    end
     render :template => "errors/error.html.erb"
  end

end
